<!--Copyright (C) Kherty.  All rights reserved.-->
<ResourceDictionary
    x:Class="OpenLS.Spreadsheet.UI.SpreadsheetDocumentResources"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ss="http://schemas.Kherty.com/office/2007/spreadsheet"
    xmlns:ssui="clr-namespace:OpenLS.Spreadsheet.UI">
    <DataTemplate DataType="{x:Type ss:SpreadsheetDocument}">
        <ContentPresenter Content="{Binding Workbook}"/>
    </DataTemplate>
    <DataTemplate DataType="{x:Type ssui:DocumentContainer}">
        <ContentPresenter Content="{Binding Document}">
        </ContentPresenter>
    </DataTemplate>
</ResourceDictionary>